import * as Cesium from "cesium";

const removeExplosion = (viewer:Cesium.Viewer):void=>{
    let inner:any = viewer.entities.getById("explosion-inner");
    let outer:any = viewer.entities.getById("explosion-outer");
    if(Cesium.defined(inner)){
      viewer.entities.remove(inner)
    };
    if(Cesium.defined(outer)){
      viewer.entities.remove(outer)
    };
};

export default removeExplosion;

